package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <desc>
 * 用户余额
 * </desc>
 *
 * @createDate 2018/4/23
 */
@Data
@NoArgsConstructor
@ItlTables("app_temp_face_show")
@EqualsAndHashCode(callSuper = true)
public class AppUserAccountBalancePO extends BasePO implements Serializable {

    @ItlField(value = "user_id", logicKey = "key")
    private String userId;     //用户id

    @ItlField("face_id")
    private String faceId;     //人脸id

    @ItlField("account_money")
    private BigDecimal accountMoney;     //账号余额

    public AppUserAccountBalancePO(String userId, BigDecimal accountMoney) {
        this.userId = userId;
        this.accountMoney = accountMoney;
    }

}